#!/usr/bin/env bash
ips=$(seq 1 254 | awk '{print "192.168.1." $1}')
echo "$ips" | xargs -n  1 -P 10 -I {} bash -c 'nmap -sP {}'
echo "Network scan completed."
